package com.wujilee.mqdelaytask.service;

import com.wujilee.mqdelaytask.entity.EntityDelayTask;

import java.util.function.Consumer;

/**
 * @author liwuji
 * @date 2024/4/12
 * @desc
 **/
public interface ExecuteDelayTaskService {


    void execute(EntityDelayTask entityDelayTask);
    void successExecute(Consumer consumer);
    void failExecute(Consumer consumer);
    Consumer<EntityDelayTask> execute();
}
